package cn.xp;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Description 订单服务的启动类
 * @Author xp
 * @Date 2023/4/14 10:48
 * @Version 1.0
 */
@SpringBootApplication
// 开启Nacos客户端
@EnableDiscoveryClient
// 开启openfeign
@EnableFeignClients
public class OrderApp {
    public static void main(String[] args) {
        SpringApplication.run(OrderApp.class,args);
    }
}